add a solution from discussion