Finishing chapter 6

minor edits