alright, it's working....
AES code is added in too!