added extremeFactor