CARD_DIAG_A class implemented