group tasks first implementation