Finish exercise chpt9