doco on snippets