update working on hw4