swipe ref added