changed the output of the search methods