private boolean isStraight(Card[] h) {
		boolean straight = false;
		Card[] hand;
		hand = h;
		int startValue = hand[0].getValue();

		// if statement to ensure that ace can be high or low (A2345 as well as
		// 10JQKA are straights)
		if (hand[0].getValue() == 0 && hand[1].getValue() == 9
				&& hand[2].getValue() == 10 && hand[3].getValue() == 11
				&& hand[4].getValue() == 12) {

			straight = true;
			return straight;

		} else {
			// for loop checks if each successive card is one higher (we can do
			// this because hand is sorted)
			for (int i = 1; i < 5; i++) {
				if (hand[i].getValue() == startValue + i)
					straight = true;

				else {
					straight = false;
					return straight;
				}
			}
		}

		return straight;
	}