add year filter logic