including the grouping value as it is needed