added aes output statements