trying to improve performance of batch processing