added parallelism to batch execution. ref: #10