switch operator on subgroup