project year autocomplete function