groups according to their patholo