hw2 partially done