city rewrite