private function addRight($key, $value) { return $this->right->isEmpty() ? $this->createRed($key, $value, $this->right, $this->right) : $this->right->add($key, $value); }