Complete most part of chapter 5