add min/max operators for numbers