handling attributions for Docs