Fix Chapter 10 Exercise