simple prototype for a card system