minor edits in chapter 5