Rewrote controls