swap interval