addded _enable to table_lookup fcn