add batching support!