grouping working for one grouping column