func: function () payable {
  
      require(msg.sender != 0x0);
      require(saleIsActive);
      require(msg.value > 0.01 * 1 ether);
  
      uint256 weiAmount = msg.value;
  
      
      weiRaised = weiRaised.add(weiAmount);
  
      
      uint256 tokenAmount = weiAmount.mul(rate);
  
      
      wallet.transfer(weiAmount);
  
      
      token.transfer(msg.sender, tokenAmount);
      TokenPurchase(msg.sender, wallet, weiAmount, tokenAmount);
  
    }