Assign tasks