Changes made to the card class