grouping check works fine