cleaned up the solution