adding ch08 exercises