Lesson 2 class example and exercise