add basic card functions