completed some exercises from ch. 9 and 10