Finish hw4, without comments