added power and exponent functions