Touched up cards.c