deleted getMin + getMax