Added table, root and fixed less bug