type min and max value defines