problems on method of Grouping