simplify createSolver() method in examples