moved date aggregator to the history controller