mutate preserves grouping