public void dealerHit() {

		System.out.println(">Dealer's hidden card was: "
				+ dealerHand.getHand().get(0).toString());

		while (dealerHand.getHandValue() < 21) {

			if (dealerHand.getHandValue() < 17
					&& !dealerHand.getHValues().contains(11)) {

				dealerHand.addCard(shoe.dealCard());
				System.out.println(">Dealer HIT - Dealer's Hand: "
						+ dealerHand.toString());

			} else if (dealerHand.getHandValue() >= 17
					&& dealerHand.getHandValue() > 21
					&& dealerHand.getHValues().contains(11)) {

				dealerHand.getHand().get(dealerHand.getHValues().indexOf(11))
				.setAce();
				dealerHand.setAceValue();

				dealerHand.addCard(shoe.dealCard());
				System.out.println(">Dealer HIT - Dealer's Hand: "
						+ dealerHand.toString());

			} else if ((dealerHand.getHandValue() >= 17 && !dealerHand
					.getHValues().contains(11))) {
				System.out.println(">Dealer stops dealing cards");
				break;
			}
		}

		if (dealerHand.getHandValue() > 21) {
			dealerBust();
		} else {
			dealerStand();
		}

	}