final revision to hw4