minor exercise 3.10 tweak