Lesson 3: Event simulation