department analysis