creategroups.py #2