obsessively reformatted swipe function