reorganizing chap 8 examples