exposed tree-insert to lua part2