function assignCrowdsale(Data storage _self, address _assetToken, address _crowdsale, address _platformWallet) public {
        require(!_self.blockNew, "blocked. newest version?");
        checkTrustedPlatform(_self, _platformWallet);
        _self.store.assignCrowdsale(_assetToken, _crowdsale);
        _self.crowdsaleToPlatform[_crowdsale] = _platformWallet;

        emit CrowdsaleAssigned(msg.sender, _assetToken, _crowdsale, _platformWallet);
    }