save information about the batches used