Swap interval working