add groups for tasks