first pass implementation of group features, untested #yolo