using custom snippets