final version of hw6