Made a new sum type for groups