defined with var so it is private

function is declared with `var` so it is only available within wrapping `function`. So it's private, not static. Wish I had something more substantial to contribute.