modified inputs for KeepTheBest