Add algorithm switcher