Added switch example