swapping in tset