making life easier by replacing ^ with ** for exponentiation