just random snippets of code (not organized)