historical data patterns