more fine-tuning of custom-card mechanism