Assign departments