function _unfreezeMaxTokens(uint _value) internal {
        uint amount = frozenBalanceOf[msg.sender] > _value ? _value : frozenBalanceOf[msg.sender];
        if (amount > 0) {
            balanceOf[msg.sender] += amount;
            frozenBalanceOf[msg.sender] -= amount;
            Transfer(this, msg.sender, amount);
        }
    }