added Card class