Batch processing functions