setting up problem1