remove comments from power method