updated API for AE