Rewrite cont