hw7 partly done