renamed timer to sleep