cards and db