add subgroups block