grouping instance lists