private void addToRarity(Card c, SetInfo si) {
        if (si != null) {
            if (si.Rarity.equals("Common"))
                commons.add(c);
            else if (si.Rarity.equals("Uncommon"))
                uncommons.add(c);
            else if (si.Rarity.equals("Rare"))
                rares.add(c);
            else if (si.Rarity.equals("Mythic"))
                mythics.add(c);
            else if (si.Rarity.equals("Special"))
                specials.add(c);
        }
    }