added the power states
possible merge