Adding the chapter one code