initial commit.  code from over a year ago.  planning to redo soon!