initial setup of problem 2