added iterators to ttable