write chapter6