swapping almost complete.