local-ize a few variables/tables