preparation for cardslib v2