added table from selection