cards.c from page 37 working,