finished hw7!