Added index based card selection.