changed to doc.url