Added .year to period_start in period()