added base classes for cards