document analysis for MVP