passing the rank individually to the cards.