add grouping method