stack with switcher