End of Lesson 7 with corrections