quiz4 snippets