add batching example