rev 1 - added blackjack check on serve and fixed bugs