Update code to page 297 one more