add aggregation availability checking