finsh d3 chapter9 ccode