add some useful snippets