Remainder operator is tricky