building logic for selecting a card and also assigning a person to card for cli