Added power_source method
commit for b