Swapping between tables works