added department to details