added rsa enable switch