func: function deposit(address _customerAddress, uint256 amount)
          public
          gameActive
      {
          require(tx.origin == _customerAddress);
          require(amount >= (minBet * 2));
          require(ERC20Interface(tokenAddress).transferFrom(_customerAddress, this, amount), "token transfer failed");
          
          uint256 devFee = amount / 33;
          devFeeBalance = devFeeBalance.add(devFee);
          
          balanceLedger_[_customerAddress] = tokenBalanceOf(_customerAddress).add(amount).sub(devFee);
          personalFactorLedger_[_customerAddress] = constantFactor / globalFactor;
  
          emit onDeposit(_customerAddress, amount, getBalance(), devFee, now);
      }