Example two in sinatra