symbol table refactoring