added template snippets