First working aggregation prototype.