fixes #77
improved grouping example #75