Week 9 code examples