swap multiple times