new swipe code