added table controller