in section 3.5.3, finish exercise 3.70 ~ 3.72