set variables for problem
added total variables for