Added lesson 9 code