Writing and rewriting