commonly used snippets