create document.