- adding second working version of the batch processing