added the card class