Update class CARDS.java