added filter for dept