rewrite version