finished chapter6