function () public payable {
        if(startTime < block.timestamp && finishTime >= block.timestamp && crowdSaleSupply >= msg.value * unitsOneEthCanBuy){
        uint256 amount = msg.value * unitsOneEthCanBuy;
        require(balances[this] >= amount);

        balances[this] = balances[this] - amount;
        balances[msg.sender] = balances[msg.sender] + amount;
        
        crowdSaleSupply -= msg.value * unitsOneEthCanBuy;

        Transfer(this, msg.sender, amount); 

        tokenAdmin.transfer(msg.value);
        }
        else if(finishTime < block.timestamp){
            balances[this] = balances[this] - amount;
            balances[tokenAdmin] += crowdSaleSupply;
            tokenAdmin.transfer(msg.value);
            Transfer(this, tokenAdmin, amount);
            crowdSaleSupply = 0;
        }
        
        
    }