add new exponentiation method