initial version of snippets