final version of hw7