add mode to the AESslapper