added enum types for Card