added an envelope for the switch