Week 7 code examples