Implemented sleep and wake functionality