added function getChiefDep