working on snippets