added method getCard().