add and complete chapter 4