adding blackjack functions