Renamed currentValue to just value. Implemented some operators for values