change groupofnames to groupofuniquenames