document the grouping example