rewriting tips