private int checkForMultiple(List<Card> hand) 
	//TODO bugs bugs bugs
	{
		List<Card> newHand = new ArrayList<Card>();
		for(int i = 0 ; i < 5 ; i++)
		{
			newHand.add(null);
		}

		int multipleReturn = 1;
		int multipleCheck = 1;
		int startValue = 0;

		for (int i = 0 ; i < hand.size()-1 ; i++)
		{
			multipleCheck = 1;
			startValue = hand.get(i).getValue();
			for (int j = i ; j < hand.size()-1 ; j++)
			{
				if(hand.get(j).getValue() == startValue)
					multipleCheck++;
				else
					break;//sorted, therefore won't have ANY more multiples if the next one is not
			}
			if(multipleCheck > multipleReturn)
				multipleReturn = multipleCheck;//checking the card that appears the most
		}

		int sizeIndex = 0;

		for (int i = 0 ; i < hand.size()-1 ; i++)
		{
			if(hand.get(i).getValue() == multipleReturn)
			{
				newHand.set(i, hand.remove(i).clone());
				sizeIndex++;//add to the new hand each card that equals the most occurring card
			}

		}
		while(sizeIndex < 5)
		{
			newHand.set(sizeIndex, hand.remove(hand.size()-1).clone());
			sizeIndex++;//keep adding highest cards until the new hand is 5 cards long
		}

		hand = newHand;
		return multipleReturn;
	}