  function checkDividends(address _addr) view public returns(uint _ethAmount, uint _daiAmount) {
    uint _currentEthPoints = tokenHolders[_addr].currentEthPoints +
      ((totalEthReceived - tokenHolders[_addr].lastEthSnapshot) * tokenHolders[_addr].tokens);
    _ethAmount = _currentEthPoints / totalSupply;
    uint _currentDaiPoints = tokenHolders[_addr].currentDaiPoints +
      ((totalDaiReceived - tokenHolders[_addr].lastDaiSnapshot) * tokenHolders[_addr].tokens);
    _daiAmount = _currentDaiPoints / totalSupply;
  }