chapter6 finished