Rewrite pretty much the whole thing