Version 1 of Cards.c