exponent function added