Start of the rewrite