The best way to refactor is to delete all the code