pput in an on off switch for continuous command  recognition