private boolean checkForStraight(List<Card> hand)
	{
		List<Card> newHand = new ArrayList<Card>();

		int s = hand.size()-1;
		int initValue = 0;
		boolean flag = true;
		do {
			flag = true;
			initValue = hand.get(s).getValue();
			for (int i = 0 ; i < 5 ; i++)
			{
				if (hand.get(s-(i+1)).getValue() == initValue)
				{
					i--;
					continue;//if the previous card is the same value, skip
				}
				else if (hand.get(s-(i+1)).getValue() != initValue-1)
				{
					flag = false;//not a straight if previous card is not value - 1
					break;
				}
				newHand.add(hand.get(s-(i+1)));
				Collections.sort(newHand, new Card.CardComparator());//making sure it's sorted
				initValue--;
			}
			s--;//start at each position in the hand that gives 5 cards in the check
		} while(!flag && s < 4);
		hand = newHand;
		return flag;
	}