first set of snippets