finished ch5
finished ch5