added runProblem