Removed unnecessary sleeps