completed some ch9 exercises