Added maxValue