added the first example of Chapter 4