hw4 initial revision