func: function SpudToDivs(uint256 amount) public 
      {
          address sender = msg.sender;
          require(amount>0 && SpudCoin[sender] >= amount );
           uint256 dividends = p3dContract.myDividends(true);
              require(dividends > 0);
              uint256 amt = dividends.div(100);
              p3dContract.withdraw();
              SPASM_.disburse.value(amt)();
              SpudPot = SpudPot.add(dividends.sub(amt));
          uint256 payouts = SpudPot.mul(amount).div(totalsupply);
          SpudPot = SpudPot.sub(payouts);
          SpudCoin[sender] = SpudCoin[sender].sub(amount);
          totalsupply = totalsupply.sub(amount);
          sender.transfer(payouts);
      }