public PokerHandCategory getPokerHandCategory(PokerHand pokerHand) {
		if (pokerHand.getNumberOfCards() == 5) {
			if (isStraightFlush(pokerHand)) {
				return PokerHandCategory.STRAIGHT_FLUSH;
			} else if (isFourOfaKind(pokerHand)) {
				return PokerHandCategory.FOUR_OF_A_KIND;
			} else if (isFullHouse(pokerHand)) {
				return PokerHandCategory.FULL_HOUSE;
			} else if (isFlush(pokerHand)) {
				return PokerHandCategory.FLUSH;
			} else if (isStraight(pokerHand)) {
				return PokerHandCategory.STRAIGHT;
			} else if (isTwoPair(pokerHand)) {
				return PokerHandCategory.TWO_PAIR;
			} 
		}
		if (isThreeOfaKind(pokerHand)) {
			return PokerHandCategory.THREE_OF_A_KIND;
		} else if (isPair(pokerHand)) {
			return PokerHandCategory.PAIR;
		} else {
			return PokerHandCategory.HIGH_CARD;
		}
	}