replaced the tree with a simple table