added modulus table and changed limits