adddepartment code