Complete exercises for ch. 5