made blocks of template, and groups links