Added powerFunction
Changed the foolproof rule to ignore everything