rbtree still under debugging