Rewrite is done