keeping the code here as a quick reference on sinatra's uses