add switcher on index.