search on the fly