adjust index switch