adding template variables