createBatch is working