made a better way to choose the best translation