add time_periods to params