using swipe as class, as a temporary hack before actually building in some customization