removed pow function