write documents (4)