setting up AES for adding extra modes