moved the printing of the card information into the Card class