tools and snippets