updates for chap 8 and 9