Chapter 8 solution