getCards with callback