added the solution