remove packages and out from chapter_8