Added Batch Functionality