added sinatra structure