hmm, not if that generateId() function works correctly. because once you add a card, it gets assigned a new id, so each of them should be different at least based on that