Refactor table variable to _table