working example with Rack