setting up problem 12