how to assign workers