Writer internal rewrite