writing (rev2)