note switch to modulus