corrected wait_for_others() in depression