changed extension to tpl