now show department related based on condition