finalize the output of the solution