removed double sleep