almost done with hw7...