finalized grouping