tweaks to the card API