chapter_4 exercises