Mass rewrite