make exponentiation work