removed cs_sleep() calls