Rewriting in process