added example 1 to chapter 1