docs snippets