function () public payable{
      
      if(block.timestamp>endICO)revert("ICO OVER");
      balances[msg.sender]=safeAdd(balances[msg.sender],safeMul(msg.value,exchange));
      totalSupply=safeAdd(totalSupply,safeMul(msg.value,exchange)); 
      admin.transfer(address(this).balance);
  }