how to choose the best solution