Moved code to card.base.BaseCard