new style of template variables