fixed input for KeepTheBest function