completed hw6.1