changed getCards method