refactoring powerCurve/maybe