Add thread swiping