batching example added