add batches option