assignment2 finished