add necessary snippets