Removed unnecessary sleep