The code I wrote over a year ago is faulty and I can hardly figure out the mistake. So why not start from scratch?