added to blackjack algorithm