document data flow