get extremes: