finished ch 8 exercises