added rsa feature