adding department filtering phase 1