minor update to CreateBatch