Basic rewrite