export and document