finish Chap2.7