Finish chapter8 practice