pretty much finished hw7