What happens here if previousNode and nextNode are both null?