Changed power function.