Implemented batch submit."