added certain snippets