WINDOW, SWITCH, GEN 2, MAIN