module of document processing