define card type