done up to hw6 part3