updating batch processing - 2

to be continued