Begin rewrite