Added unassign worker code