getAllGroups added.