createBatch is working better