added AES encryption