removed type for year in query