Correctly displaying the outputs of cards selected