swipe hero functions