made the aggregation check its own check for easier debugging