user input for min/max