adds Card class