added changes for Lesson 9,10, and 11.