simplified snippets