added fetchViewDocuments