ensuring the groups are created