put in min func in jumble