- adding first working version of the batch processing