rewrite example