added the table iterator