Implemented batch execution