added aggregation window