add the possibility to specify a min and/or max value for integers.