added table selector