added list grouping