Modified list_dept