Made the switching of the card