finish chapter8 programmingMaster