First working version.  Horay!