completed the Chapter 6 exercises and questions