add devided AA function