better task grouping