implementation of addSibling()