getCards method