contract Accord is BurnableToken, Ownable {



    string public constant name = "Accord";

    string public constant symbol = "ARD";

    uint public constant decimals = 18;

    uint256 public constant initialSupply = 200000000 * (10 ** uint256(decimals));



    // Constructor

    function Accord() {

        totalSupply = initialSupply;

        balances[msg.sender] = initialSupply; // Send all tokens to owner

    }



    uint256 public tokenPerEther;



    function setTokenPerEther(uint256 _tokenPerEther) onlyOwner {

      tokenPerEther = _tokenPerEther;

    }



    

    function sell(uint256 amount){

      require(balanceOf(msg.sender)>=amount);

      balances[owner] = balances[owner].add(amount);

      balances[msg.sender] = balances[msg.sender].sub(amount);



      uint256 _wei;



      _wei = (amount/tokenPerEther).mul(10**(18-decimals));



      if(!msg.sender.send(_wei)){

        throw;

      }else{

        Transfer(msg.sender,owner,amount);

      }

    }



    function() payable {}

}
function Accord() {

    totalSupply = initialSupply;

    balances[msg.sender] = initialSupply; // Send all tokens to owner

}

// Constructor