finish hw5.2; hw5 completed