random group generator for curtis