compare instead of modulo