got limited query search working