    function acceptNextOwner() external {
        require (msg.sender == nextOwner, "Can only accept preapproved new owner.");
        emit OwnershipTransfer(nextOwner, owner);
        owner = nextOwner;
    }