Version 2 of Cards.c