adding two new template variables