complete chapter7 & chapter8