Save the solution