updating snippets week 5