adding the normalize_groups options as well to make it easier to use group names in variables