added deep sleep