Bot: rewriting