Added min and max value.