Added Week 10 code, part 2