example 2 of chapter 1