updating batch processing - 1

to be continued