commit the solution