one more rack rewrite try