hw6 first part