Adding reset to the solver