untested version of new group data functions