working on logic for newEmptyGroup, doesn't seem quite right yet