added a bunch of snippets