initial setup of problem 3