finish section 3 in chapter 3