document collection and analysis