graphics for chapter 2, revised beginning of chapter 3