Rewrite of code complete.