docsim out to pb