Added the power function