finish exercises for Chapter 8