private playObject nextCard(playObject playData,
                                  int[][] actionCards,
                                  Random random)
       {
       int[]cardData=playData.getCardData();
       int[][]shuffledActionCards=playData.getShuffledActionCards();	
       int currentCard=cardData[0];
	   boolean realCardFound=false;
	   while(!realCardFound)
	     {
		 currentCard++;	
	     if(currentCard>=shuffledActionCards.length)
		   {
		   playData=shufflerTron(actionCards,random,playData);	
		   shuffledActionCards=playData.getShuffledActionCards();
		   cardData[0]=0;
		   currentCard=0;	
		   }
		 if(shuffledActionCards[currentCard][0]==0)
		   {
		   if(cardData[3]<zValidFor)
		     {	
		     cardData[1]++;	
		     cardData[2]++;
		     }
		   }
		 else
		   {
		   realCardFound=true;	  
		   }
	     }  
	   cardData[0]=currentCard;
	   cardData[3]++;
	   playData.setCardData(cardData);
	   if(shuffledActionCards[currentCard][0]==0)
	     {
	     System.out.println("CP1="+currentCard);	
	     }
       return playData;	 		 	
       }