add card,category definitions