nicer parallelization across batches