finish hw6 part3