Refactor shift_and_process
Refactor named args to worker