updated the solutions