restarted the rewrite from scratch