Adds the solution.