Added jack swapping card functionality