another attempt at swipe