setting up the problem