Week 10 code examples