deleted unneccesary sleep