add red-black tree