Doing hw6