Wrote document