rewite with AA