added some batching methods