added table scan