Added min max finder