finish debugging problem1b