refactor power costs, #143