ex 5.10 some divide changes