added new search, wrong outputs