task6 create_groups