finalized Card class