added modulus method
modulus and exponents