updating for hw4