Remember to use the batch as an arg to storeBatchStructure