assignment 2 partially done