finish phase 2 coding, in Page 518