Dev_truth for portfolio documents
-some exception handling and looping needs revision someday