removed all of the pow(x,y) calls