introduce macros for card types