changes in power.c