grouping now merges stacks