add feature: 2 modes of grouping