getDepartmentsList was improved