add third case to addObject   (merge current nodes and put new node alongside)