updates to the chapter02