moving over to sinatra for the more concise syntax