revised hw4