tidied up blackjack method