refactored methods in PokerHandChecker