CARD_INV class implemented