path and extremes