TimePeriods now specified in code, not in a view