finished exponentiation