add examples of chapter 4