added subgroup class