add length, minimum, maximum