rename collect_work to collect