got the best solution