use dot notation for card.contents