updated the solver method...