Added rbtree data structs