add tpl snippets