need help to solve problem