Added switch and type examples