correction power.cpp