sending entire document