RB Tree works