public void actionPerformed(ActionEvent e){

	    //button 1
	    if(e.getSource()==XD){
		//change button function when a player wins to change 
		if(win)
		    {
			for(Player p : players)
			    {
				p.update(gametrack.getStart()) ;
			    }
			gamedeck.shuffle() ;
			counter.setText(pl1.getName() + "'s turn");
			XD.setText("Draw Card") ;
			repaint() ;
			win = false ;
			drawn = 0 ;
			leaderboard.setText(
				"<html> LeaderBoard <br> " 
				+ pl1.getName() + " : " + pl1.getWins() + "<br>" 					+ pl2.getName() + " : " + pl2.getWins() + "<br>" 					+ pl3.getName() + " : " + pl3.getWins() + "<br>" 					+ pl4.getName() + " : " + pl4.getWins() + "<br>"
				+ "</html>"
			) ;
			
			Tile temp = gametrack.getStart().getNext() ;
			while(temp!=null)
			    {
				temp.setPlayers() ;
				temp = temp.getNext() ;
			    }
		    }
		else
		    {
			act(pCount) ;
			pCount++ ;
			if(pCount>=4)
		    	    pCount = 0 ;
		    }
	    }

	    //button 2
	    if(e.getSource()==XA){
		gamedeck.shuffle() ;	
		Tina.setText("Game deck was shuffled!") ;
	    }

	    //button 3
	    if(e.getSource()==XC){
		 
	    }
	}