wow almost complete rewrite