hw4 partially done