end chapter6