changed modulus thing in calc