adjustments to move from doc2 to doc