made getDepartments return List<String[]> to provide extensions to departments info