Add doc of chapter 2.