added chapter 2 example 8