added table revision functions