changed sinatra syntax