changed the 1 to an ace in the card function