Added the switch-off snippet