completed visual search input functionality