326: Use one loop for table