refactoring HeaderTable.