beginning steps for card_db