reworked group.h