sinatra version i/o works