work on chap 6 exercises