add validator for Card