Renamed min to findMin.