public void stand(String player)
    {
	if (player.equals("player")) 
	{
	    isPlayerStanding = true;
	    gui.updateCards(dealerCards, "dealer");
	    if(dealerTotal > 21)
	    {
		gui.bjGameOver("dealer");
	    }
	    else if(dealerTotal <= 21 && playerTotal < dealerTotal)
	    {
		gui.bjGameOver("player");
	    }
	    else if(dealerTotal == 21 && playerTotal == 21)
	    {
		gui.bjTie();
	    }
	}
	
	if(isPlayerStanding == true) 
	{

	    if((21-dealerTotal) < (21-playerTotal)) 
	    {
		gui.bjGameOver("player");
		dealerWins++;
	    }
	    if((21-playerTotal) < (21-dealerTotal)) 
	    {
		gui.bjGameOver("dealer");
		playerWins++;
	    }
	}
    }