sample app from the ruby tutorial