first batch processing