Update code to page 116