finished ch17