create parent dictionaries key in Card class