working on Card class