rename temp to tmpl