I don't think we want to replace the $card_info variables here, do we?  Doesn't this hold the array of information needed to generate the gift card emails?