private void replicateCards(Card remoteCard, String typeofCard) {

		if (typeofCard.equals("remotePlayer")) {
			remoteCards.newCard(remoteCard);
			pcardPanel.removeAll();
			pcardPanel.add(playerlabel);
			Iterator<Card> pscan = (player.inHand).iterator();

			while (pscan.hasNext()) {
				pcardPanel.add(new JLabel(pscan.next().getimage()));
			}
			pcardPanel.add(remotelabel);

			Iterator<Card> rscan = (remoteCards).iterator();

			while (rscan.hasNext()) {
				pcardPanel.add(new JLabel(rscan.next().getimage()));
			}

			playerlabel.setText("  Player:  " + game.handValue(player));
			remotelabel.setText("  Remote:  " + game.handValue(remoteCards));
			dealerlabel.setText("  Dealer:  " + game.handValue(dealer));

			winlosebox.setText(" "); // THIS IS A HACK: container JPanel doesnt
										// redraw without this :( Need to find
										// proper fix - MV
		} else if (typeofCard.equals("dealer")) {
			game.hit(dealer, remoteCard);
			dcardPanel.add(new JLabel(remoteCard.getimage()));
			dealerlabel.setText("  Dealer:  " + game.handValue(dealer));
			serialCount++;

			if (serialCount > 0)
				winlosebox.setText(game.winner());
			else
				winlosebox.setText(" "); // THIS IS A HACK: container JPanel
											// doesnt redraw without this :(
											// Need to find proper fix - MV
		} else if (typeofCard.equals("player")) {
			game.hit(player, remoteCard);

			// redraw lower panel
			pcardPanel.removeAll();
			pcardPanel.add(playerlabel);
			Iterator<Card> pscan = (player.inHand).iterator();

			while (pscan.hasNext()) {
				pcardPanel.add(new JLabel(pscan.next().getimage()));
			}
			pcardPanel.add(remotelabel);

			Iterator<Card> rscan = remoteCards.iterator();

			while (rscan.hasNext()) {
				pcardPanel.add(new JLabel(rscan.next().getimage()));
			}

			playerlabel.setText("  Player:  " + game.handValue(player));
			remotelabel.setText("  Remote:  " + game.handValue(remoteCards));
			dealerlabel.setText("  Dealer:  " + game.handValue(dealer));

			winlosebox.setText(" "); // THIS IS A HACK: container JPanel doesnt
										// redraw without this :( Need to find
										// proper fix - MV
		} else if (typeofCard.equals("request")) {
			tempCard = remoteCard;
		}

	}