code snippets to have fun with