chapter_6 setup