def _add_sciobj(pid, sid, obsoletes_pid, obsoleted_by_pid):
    is_added = _add_to_chain(pid, sid, obsoletes_pid, obsoleted_by_pid)
    if not is_added:
        # if not obsoletes_pid and not obsoleted_by_pid:
        _add_standalone(pid, sid)
    # else: