The process of rewriting