Inherit Card class