How to assign a card?