further integrate batchinfo