factored out Rack gears
format change to unify spaces and

tabs and use standard 4 space tabs