rename t.table to t.parent?