contract MITToken is ERC20Mintable, Ownable {
  string public name = "MIT Token";        
  string public symbol = "MIT";
  uint256 public decimals = 0;
  
  event MintFinished();

  bool public mintingFinished = false;
  
  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() public onlyOwner returns (bool) {
    mintingFinished = true;
    emit MintFinished();
    return true;
  }
}
function finishMinting() public onlyOwner returns (bool) {
  mintingFinished = true;
  emit MintFinished();
  return true;
}

/**
 * @dev Function to stop minting new tokens.
 * @return True if the operation was successful.
 */