add minimum value tracking.