public Card drawCard() {
        try {
            Card card = cardPile.pop();
            if (component != null) {
                component.updateTopCard();
            }
            return card;
        } catch (NoSuchElementException ex) {
            System.out.println("ERROR: Pile Empty");
            return null;
        }
    }