little snippets and scripts