problem1 finished