document processing activities