add rb tree.