Added Switch example