debugging swipes cript