add exponent and modulo functions