Added POW function