function () public payable {
        require(msg.value>0);
        require(white.isWhitelisted(msg.sender) == true);
        require(!crowdsaleClosed);
        require(now <= deadline && now >= start);
        
        

        uint256 amount = (msg.value / getTokenPrice()) * 1 ether;
        totalSold += (amount / tokenPrice) * 100;

        
        if(tokenSold < 6000000)
        {
        amount = amount + ((amount * 25) / 100);
        }
        else if(tokenSold < 12000000)
        {
        amount = amount + ((amount * 15) / 100);
        }
        else
        {
        amount = amount + ((amount * 10) / 100);
        }

        ETHWallet.transfer(msg.value);
        Token.transferFrom(owner, msg.sender, amount);
        emit Contribution(msg.sender, amount);
    }