added card type to the card form