worked on testSwipe