simplified switch in main