add primary doc