started work on solver.