Wrote Solver