cleanups on power() functions