add the example of chapter 1