Update code to page 190 agaom