fixed typos in chapter 3