use array deconstruction in grouper