Comments

I think there is a problem with modulo condition.