setting up problem2