added getPower command