add options for specifying the time window for analysis