card related classes  completed and functional