modified main routine to use homogeneous solvers