Added card class and show card method