shuffle worker and tasks