added filtering for year