set up cards from local db