added class switcher