grouping finished  (to be tested)