creating groups for the new codes