add card and card type