add switch-window