Lesson 2: Fix several errors