dropdown working for department