finished chapter.6