reduced down to sinatra skeleton