edited the pow function and changed the identity function name