basic GNAT-searching, still shaky