generalize root table