finish chp06 exercise