made basic switcher