added LogicSwitch and emitterDestroyer