allow defining the # of boxes