random snippets of code