example for table scan