now using correct variable for card_id