Added examples for switch