Translated the subgroup search to the new framework.