Make dropdown departments use table also