Chapter 6 for an assignment