activate/deactivate recognition