inputs for min and max values