finished ch. 5 exercises