allow for specification of subgroup