Dynamic batching working