working version of image searcher