added aes key setting