sinatra & search