replaced template variables