Added saving of cards