Small style nit, both here and in Python -- we don't use underscores in variable names usually, so call these `maxValue` and `minValue`