completed chapter_2 tasks